package com.qzd.proxy.jdkproxy;

public class Test {
    public static void main(String[] args) {
        JdkProXyStudy proXyStudy=new JdkProXyStudy();
        IPerson study01 = proXyStudy.getInstance(new RealStudy01());
        study01.proxy();
        IPerson study02 = proXyStudy.getInstance(new RealStudy02());
        study02.proxy();
    }
}